package com.cdy.common.response;

import com.cdy.common.domain.FileEntity;
import com.cdy.common.domain.FileSectionEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 请求下载响应
 * Created by 陈东一
 * 2019/10/19 0019 16:11
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RequestDownloadResponse extends Response {
    
    
    private static final long serialVersionUID = -7150460250628648852L;
    
    private Long requestId;

    private Boolean complete;  // 文件/分段 是否上传完成

    private FileEntity fileEntity;
    
    private List<FileSectionEntity> list;

}
